package com.spring.quickstart.controller;

import javax.servlet.http.HttpServletRequest;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Controller;
import org.springframework.ui.ModelMap;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
// @DefaultUrl("/bizframe/dict/list.htm")
public class IndexController {

	protected final Logger logger = LoggerFactory.getLogger(this.getClass());

	@RequestMapping(value = "/index.htm")
	public void index(HttpServletRequest request, ModelMap model) throws Exception {
		logger.error("Error:" + "show index.htm start...");
		System.out.println("show index.htm");
		logger.info("INFO:" + "show index.htm end!");
	}
}
